local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
L0_1 = {}
L0_1.group_id = 133106441
L1_1 = {}
L2_1 = {}
L2_1.config_id = 441012
L2_1.monster_id = 20011501
L3_1 = {}
L3_1.x = -511.491
L3_1.y = 147.87
L3_1.z = 1784.118
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 81.712
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 36
L2_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 441013
L3_1.monster_id = 20011401
L4_1 = {}
L4_1.x = -510.312
L4_1.y = 147.901
L4_1.z = 1781.395
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 66.596
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 36
L3_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L3_1.area_id = 19
L1_1[1] = L2_1
L1_1[2] = L3_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 441001
L2_1.gadget_id = 70290403
L3_1 = {}
L3_1.x = -501.873
L3_1.y = 175.837
L3_1.z = 1782.758
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 346.003
L3_1.y = 359.395
L3_1.z = 104.21
L2_1.rot = L3_1
L2_1.level = 36
L2_1.isOneoff = true
L2_1.persistent = true
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 441002
L3_1.gadget_id = 70290395
L4_1 = {}
L4_1.x = -517.814
L4_1.y = 135.988
L4_1.z = 1783.243
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 4.405
L4_1.y = 209.406
L4_1.z = 340.867
L3_1.rot = L4_1
L3_1.level = 36
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 19
L4_1 = {}
L4_1.config_id = 441003
L4_1.gadget_id = 70290308
L5_1 = {}
L5_1.x = -514.751
L5_1.y = 137.921
L5_1.z = 1783.809
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 81.33
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 36
L4_1.isOneoff = true
L4_1.persistent = true
L4_1.area_id = 19
L5_1 = {}
L5_1.config_id = 441005
L5_1.gadget_id = 70290308
L6_1 = {}
L6_1.x = -514.812
L6_1.y = 137.813
L6_1.z = 1784.999
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 36
L5_1.isOneoff = true
L5_1.persistent = true
L5_1.area_id = 19
L6_1 = {}
L6_1.config_id = 441008
L6_1.gadget_id = 70217014
L7_1 = {}
L7_1.x = -515.463
L7_1.y = 138.05
L7_1.z = 1777.917
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 3.716
L7_1.y = 48.288
L7_1.z = 11.594
L6_1.rot = L7_1
L6_1.level = 26
L6_1.drop_tag = "\230\145\169\230\139\137\231\159\179\231\174\177\231\146\131\230\156\136"
L6_1.isOneoff = true
L6_1.persistent = true
L7_1 = {}
L7_1.name = "chest"
L7_1.exp = 1
L6_1.explore = L7_1
L6_1.area_id = 19
L7_1 = {}
L7_1.config_id = 441010
L7_1.gadget_id = 70211121
L8_1 = {}
L8_1.x = -503.136
L8_1.y = 137.873
L8_1.z = 1784.313
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 264.133
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 26
L7_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136"
L7_1.isOneoff = true
L7_1.persistent = true
L8_1 = {}
L8_1.name = "chest"
L8_1.exp = 1
L7_1.explore = L8_1
L7_1.area_id = 19
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1441004
L2_1.name = "GROUP_LOAD_441004"
L3_1 = EventType
L3_1 = L3_1.EVENT_GROUP_LOAD
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GROUP_LOAD_441004"
L2_1.action = "action_EVENT_GROUP_LOAD_441004"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1441006
L3_1.name = "ANY_GADGET_DIE_441006"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_441006"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_441006"
L4_1 = {}
L4_1.config_id = 1441009
L4_1.name = "ANY_GADGET_DIE_441009"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_GADGET_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_441009"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_441009"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1441011
L5_1.name = "GADGET_STATE_CHANGE_441011"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_441011"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_441011"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 441007
L3_1.gadget_id = 70290395
L4_1 = {}
L4_1.x = -503.745
L4_1.y = 184.574
L4_1.z = 1791.511
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 6.112
L4_1.y = 116.542
L4_1.z = 55.702
L3_1.rot = L4_1
L3_1.level = 36
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 19
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 441001
L5_1 = 441002
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_441006"
L5_1 = "GADGET_STATE_CHANGE_441011"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 441003
L6_1 = 441005
L7_1 = 441008
L8_1 = 441010
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GROUP_LOAD_441004"
L6_1 = "ANY_GADGET_DIE_441009"
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 441012
L7_1 = 441013
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 133106441
  L5_2 = 441003
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if L2_2 == -1 then
    L2_2 = true
    return L2_2
  end
  L2_2 = false
  return L2_2
end
condition_EVENT_GROUP_LOAD_441004 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 441002
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GROUP_LOAD_441004 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 441001 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_441006 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 133106441
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_441006 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 441003 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_441009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 441002
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_441009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 441010 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.ChestOpened
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_441011 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 133106441
  L5_2 = 3
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_441011 = L1_1
